import { _decorator, Component, director, Node, resources } from 'cc';
const { ccclass, property } = _decorator;

@ccclass('UIGame')
export class UIGame extends Component {
  start() {

  }

  update(deltaTime: number) {

  }

  onSettingClick() {

  }
  onExitClick() {
    director.loadScene('startup')
  }
  onPauseClick() {
    if (director.isPaused()) {
      director.resume()
    } else {
      director.pause()
    }
  }
}


